package com.edfu.commons.email.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author naresred
 *
 */
public class Event implements Serializable {

	private static final long serialVersionUID = 4598055192570488205L;
	
	private int eventId;
	private String eventName;
	private String eventDescription;
	private boolean active;
	private List<Template> templates;
	private List<Map<String, String>> model = new ArrayList<Map<String, String>>();
	private String modelXml;
	
	public Event() {		
	}
	
	public Event(String eventName) {
		this.eventName = eventName;
	}
	
	public int getEventId() {
		return eventId;
	}
	public void setEventId(int eventId) {
		this.eventId = eventId;
	}
	
	public String getEventName() {
		return eventName;
	}
	public void setEventName(String eventName) {
		this.eventName = eventName;
	}
	
	public String getEventDescription() {
		return eventDescription;
	}
	public void setEventDescription(String eventDescription) {
		this.eventDescription = eventDescription;
	}
	
	public List<Template> getTemplates() {
		return templates;
	}
	public void setTemplates(List<Template> templates) {
		this.templates = templates;
	}
	
	public boolean getActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}	

	public List<Map<String, String>> getModel() {
		return model;
	}
	public void setModel(List<Map<String, String>> model) {
		this.model = model;
	}	

	public String getModelXml() {
		return modelXml;
	}
	public void setModelXml(String modelXml) {
		this.modelXml = modelXml;
	}

	@Override
	public String toString() {
		return "Event [eventId=" + eventId + ", eventName=" + eventName + ", active=" + active + "]";
	}	
	
}
